package Interface;

import org.w3c.dom.ls.LSOutput;

/**
 * Created with IntelliJ IDEA.
 * Description:
 * User: wangxin
 * Date: 2024-09-14
 * Time: 10:45
 */
public class TestStudent {
    public static void main(String[] args) {
        Student s1 = new Student("张三", 95);
        Student s2 = new Student("李四", 96);
          int ret = s1.compareTo(s2);
          if(ret > 0){
              System.out.println("s1 > s2");
          }else {
              System.out.println("s1 <= s2");
          }
    }
}
